# -*- coding: utf-8 -*-

from vtn_base import VtnBase
from vtn_resumen import VtnResumen

class VtnBuscar(VtnBase):

    def __init__(self, parent_window):
        VtnBase.__init__(self, "vtn_buscar", parent_window)
        self.show_background_image("bk_toquin")
        self.fill_treeview_with_model(self.treeview_busqueda)
        self.show()

    def on_btn_ayuda_clicked(self, widget, *args):
        print "on_btn_ayuda_clicked called with self.%s" % widget.get_name()

    def on_btn_buscar_clicked(self, widget, *args):
        print "on_btn_buscar_clicked called with self.%s" % widget.get_name()

    def on_btn_ver_contenidos_clicked(self, widget, *args):
        print "on_btn_ver_contenidos_clicked called with self.%s" % widget.get_name()
        vtn_resumen = VtnResumen(self)
        vtn_resumen.show()
        self.hide()
